<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QZXing Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_q_z_xing-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QZXing Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_q_z_xing_8h_source.html">QZXing.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QZXing:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_q_z_xing.png" usemap="#QZXing_map" alt=""/>
  <map id="QZXing_map" name="QZXing_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a88e0c36a340bb40ab288b59a0107ff87"><td class="memItemLeft" align="right" valign="top"><a id="a88e0c36a340bb40ab288b59a0107ff87"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>DecoderFormat</b> { <br />
&#160;&#160;<b>DecoderFormat_None</b> = 0, 
<b>DecoderFormat_Aztec</b> = 1 &lt;&lt; 1, 
<b>DecoderFormat_CODABAR</b> = 1 &lt;&lt; 2, 
<b>DecoderFormat_CODE_39</b> = 1 &lt;&lt; 3, 
<br />
&#160;&#160;<b>DecoderFormat_CODE_93</b> = 1 &lt;&lt; 4, 
<b>DecoderFormat_CODE_128</b> = 1 &lt;&lt; 5, 
<b>DecoderFormat_DATA_MATRIX</b> = 1 &lt;&lt; 6, 
<b>DecoderFormat_EAN_8</b> = 1 &lt;&lt; 7, 
<br />
&#160;&#160;<b>DecoderFormat_EAN_13</b> = 1 &lt;&lt; 8, 
<b>DecoderFormat_ITF</b> = 1 &lt;&lt; 9, 
<b>DecoderFormat_MAXICODE</b> = 1 &lt;&lt; 10, 
<b>DecoderFormat_PDF_417</b> = 1 &lt;&lt; 11, 
<br />
&#160;&#160;<b>DecoderFormat_QR_CODE</b> = 1 &lt;&lt; 12, 
<b>DecoderFormat_RSS_14</b> = 1 &lt;&lt; 13, 
<b>DecoderFormat_RSS_EXPANDED</b> = 1 &lt;&lt; 14, 
<b>DecoderFormat_UPC_A</b> = 1 &lt;&lt; 15, 
<br />
&#160;&#160;<b>DecoderFormat_UPC_E</b> = 1 &lt;&lt; 16, 
<b>DecoderFormat_UPC_EAN_EXTENSION</b> = 1 &lt;&lt; 17, 
<b>DecoderFormat_CODE_128_GS1</b> = 1 &lt;&lt; 18
<br />
 }</td></tr>
<tr class="separator:a88e0c36a340bb40ab288b59a0107ff87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb78017442ef7e6cc236f75bc1dc71e2"><td class="memItemLeft" align="right" valign="top"><a id="abb78017442ef7e6cc236f75bc1dc71e2"></a>
typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>DecoderFormatType</b></td></tr>
<tr class="separator:abb78017442ef7e6cc236f75bc1dc71e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:a21f75bdef7ecd2100ed170e1b32470a7"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#a21f75bdef7ecd2100ed170e1b32470a7">decodeImage</a> (const QImage &amp;image, int maxWidth=-1, int maxHeight=-1, bool smoothTransformation=false)</td></tr>
<tr class="separator:a21f75bdef7ecd2100ed170e1b32470a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e2119732a304523033fe5fd8505c4e9"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#a8e2119732a304523033fe5fd8505c4e9">decodeImageFromFile</a> (const QString &amp;imageFilePath, int maxWidth=-1, int maxHeight=-1, bool smoothTransformation=false)</td></tr>
<tr class="separator:a8e2119732a304523033fe5fd8505c4e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cbd54e03d45b91ff0f33125e4f6caa3"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#a6cbd54e03d45b91ff0f33125e4f6caa3">decodeImageQML</a> (QObject *item)</td></tr>
<tr class="separator:a6cbd54e03d45b91ff0f33125e4f6caa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fdb03f94072d9a47cc0d008967da49b"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#a4fdb03f94072d9a47cc0d008967da49b">decodeSubImageQML</a> (QObject *item, const int offsetX=0, const int offsetY=0, const int width=0, const int height=0)</td></tr>
<tr class="separator:a4fdb03f94072d9a47cc0d008967da49b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed399aa817f2090d5ac7c9aed51d1b99"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#aed399aa817f2090d5ac7c9aed51d1b99">decodeImageQML</a> (const QUrl &amp;imageUrl)</td></tr>
<tr class="separator:aed399aa817f2090d5ac7c9aed51d1b99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13ef5bdf62f387df536e4a78088c5700"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#a13ef5bdf62f387df536e4a78088c5700">decodeSubImageQML</a> (const QUrl &amp;imageUrl, const int offsetX=0, const int offsetY=0, const int width=0, const int height=0)</td></tr>
<tr class="separator:a13ef5bdf62f387df536e4a78088c5700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af57e44a47644b0d13edf684515301f2d"><td class="memItemLeft" align="right" valign="top">static QImage&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#af57e44a47644b0d13edf684515301f2d">encodeData</a> (const QString &amp;data)</td></tr>
<tr class="separator:af57e44a47644b0d13edf684515301f2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab15359090739e8dc9850d965caca8eca"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#ab15359090739e8dc9850d965caca8eca">getProcessTimeOfLastDecoding</a> ()</td></tr>
<tr class="separator:ab15359090739e8dc9850d965caca8eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a863d1ac83ea9728880d0494a5d8e98e0"><td class="memItemLeft" align="right" valign="top">uint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#a863d1ac83ea9728880d0494a5d8e98e0">getEnabledFormats</a> () const</td></tr>
<tr class="separator:a863d1ac83ea9728880d0494a5d8e98e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8292973f0e6820b763dd5bc0fd3060e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_z_xing.html#ab8292973f0e6820b763dd5bc0fd3060e">setDecoder</a> (const uint &amp;hint)</td></tr>
<tr class="separator:ab8292973f0e6820b763dd5bc0fd3060e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:ad151a4c0ead10bb4241dfcc8c3e18e2c"><td class="memItemLeft" align="right" valign="top"><a id="ad151a4c0ead10bb4241dfcc8c3e18e2c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>decodingStarted</b> ()</td></tr>
<tr class="separator:ad151a4c0ead10bb4241dfcc8c3e18e2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab03a87890271917ea28d0364c4da2f28"><td class="memItemLeft" align="right" valign="top"><a id="ab03a87890271917ea28d0364c4da2f28"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>decodingFinished</b> (bool succeeded)</td></tr>
<tr class="separator:ab03a87890271917ea28d0364c4da2f28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a696bd59635536b3783e5f375202b6aab"><td class="memItemLeft" align="right" valign="top"><a id="a696bd59635536b3783e5f375202b6aab"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>enabledFormatsChanged</b> ()</td></tr>
<tr class="separator:a696bd59635536b3783e5f375202b6aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf25c39a79a371173312bd497eac98a6"><td class="memItemLeft" align="right" valign="top"><a id="abf25c39a79a371173312bd497eac98a6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>tagFound</b> (QString tag)</td></tr>
<tr class="separator:abf25c39a79a371173312bd497eac98a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6c6053a43a0ab92fa3cdfeb0a4821d9"><td class="memItemLeft" align="right" valign="top"><a id="aa6c6053a43a0ab92fa3cdfeb0a4821d9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>tagFoundAdvanced</b> (const QString &amp;tag, const QString &amp;format, const QString &amp;charSet) const</td></tr>
<tr class="separator:aa6c6053a43a0ab92fa3cdfeb0a4821d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a473a901632018b882c3a3e7b0cd3bffe"><td class="memItemLeft" align="right" valign="top"><a id="a473a901632018b882c3a3e7b0cd3bffe"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>tagFoundAdvanced</b> (const QString &amp;tag, const QString &amp;format, const QString &amp;charSet, const QRectF &amp;rect) const</td></tr>
<tr class="separator:a473a901632018b882c3a3e7b0cd3bffe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abed4b445f501ce53960a7b9c15010e8b"><td class="memItemLeft" align="right" valign="top"><a id="abed4b445f501ce53960a7b9c15010e8b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>error</b> (QString msg)</td></tr>
<tr class="separator:abed4b445f501ce53960a7b9c15010e8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a85b600f7187035028dd34a305e65b4f6"><td class="memItemLeft" align="right" valign="top"><a id="a85b600f7187035028dd34a305e65b4f6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QZXing</b> (QObject *parent=NULL)</td></tr>
<tr class="separator:a85b600f7187035028dd34a305e65b4f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b9910d33da75663100690a09754c9b"><td class="memItemLeft" align="right" valign="top"><a id="a63b9910d33da75663100690a09754c9b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QZXing</b> (DecoderFormat decodeHints, QObject *parent=NULL)</td></tr>
<tr class="separator:a63b9910d33da75663100690a09754c9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab14fbffee0f97aab0e7eb6d0f2156c1e"><td class="memItemLeft" align="right" valign="top"><a id="ab14fbffee0f97aab0e7eb6d0f2156c1e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTryHarder</b> (bool tryHarder)</td></tr>
<tr class="separator:ab14fbffee0f97aab0e7eb6d0f2156c1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06343821c76155b266615a2ce28d48ea"><td class="memItemLeft" align="right" valign="top"><a id="a06343821c76155b266615a2ce28d48ea"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getTryHarder</b> ()</td></tr>
<tr class="separator:a06343821c76155b266615a2ce28d48ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a830477fc7f3bdbd92ee6283343bf9666"><td class="memItemLeft" align="right" valign="top"><a id="a830477fc7f3bdbd92ee6283343bf9666"></a>
Q_INVOKABLE QString&#160;</td><td class="memItemRight" valign="bottom"><b>foundedFormat</b> () const</td></tr>
<tr class="separator:a830477fc7f3bdbd92ee6283343bf9666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a051c4202f01e85db73f90e09343da041"><td class="memItemLeft" align="right" valign="top"><a id="a051c4202f01e85db73f90e09343da041"></a>
Q_INVOKABLE QString&#160;</td><td class="memItemRight" valign="bottom"><b>charSet</b> () const</td></tr>
<tr class="separator:a051c4202f01e85db73f90e09343da041"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a735c7db98c0e7040fdbec71b12304881"><td class="memItemLeft" align="right" valign="top"><a id="a735c7db98c0e7040fdbec71b12304881"></a>
static QString&#160;</td><td class="memItemRight" valign="bottom"><b>decoderFormatToString</b> (int fmt)</td></tr>
<tr class="separator:a735c7db98c0e7040fdbec71b12304881"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a039a55ba6f1e5e416a39b26c407ee777"><td class="memItemLeft" align="right" valign="top"><a id="a039a55ba6f1e5e416a39b26c407ee777"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>processingTime</b></td></tr>
<tr class="separator:a039a55ba6f1e5e416a39b26c407ee777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68bf4e8976f78f9d58e6497ed91077fb"><td class="memItemLeft" align="right" valign="top"><a id="a68bf4e8976f78f9d58e6497ed91077fb"></a>
uint&#160;</td><td class="memItemRight" valign="bottom"><b>enabledDecoders</b></td></tr>
<tr class="separator:a68bf4e8976f78f9d58e6497ed91077fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56c829ac5c8f3eaced1e14e56d56c324"><td class="memItemLeft" align="right" valign="top"><a id="a56c829ac5c8f3eaced1e14e56d56c324"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>tryHarder</b></td></tr>
<tr class="separator:a56c829ac5c8f3eaced1e14e56d56c324"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class containing a very very small subset of the ZXing library. Created for ease of use.</p>
<p>Anyone interested in using more technical stuff from the ZXing library is welcomed to add/edit on free will.</p>
<p>Regarding DecoderFormat, by default all of those are enabled (except DataMatrix will is still not supported) </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a21f75bdef7ecd2100ed170e1b32470a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21f75bdef7ecd2100ed170e1b32470a7">&#9670;&nbsp;</a></span>decodeImage</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString QZXing::decodeImage </td>
          <td>(</td>
          <td class="paramtype">const QImage &amp;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxWidth</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxHeight</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>smoothTransformation</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The decoding function. Will try to decode the given image based on the enabled decoders. If the image width is larger than maxWidth or image height is larger than maxHeight then the image will be scaled down. Either way, in case of scaling, the aspect ratio of the image will be kept.</p>
<p>The smoothTransformation flag determines whether the transformation will be smooth or fast. Smooth transformation provides better results but fast transformation is...faster. </p>

</div>
</div>
<a id="a8e2119732a304523033fe5fd8505c4e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e2119732a304523033fe5fd8505c4e9">&#9670;&nbsp;</a></span>decodeImageFromFile</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString QZXing::decodeImageFromFile </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>imageFilePath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxWidth</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>maxHeight</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>smoothTransformation</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The decoding function. Will try to decode the given image based on the enabled decoders. The input image is read from a local image file. </p>

</div>
</div>
<a id="a6cbd54e03d45b91ff0f33125e4f6caa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cbd54e03d45b91ff0f33125e4f6caa3">&#9670;&nbsp;</a></span>decodeImageQML <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString QZXing::decodeImageQML </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The decoding function accessible from QML. (Suggested for Qt 4.x) </p>

</div>
</div>
<a id="aed399aa817f2090d5ac7c9aed51d1b99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed399aa817f2090d5ac7c9aed51d1b99">&#9670;&nbsp;</a></span>decodeImageQML <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString QZXing::decodeImageQML </td>
          <td>(</td>
          <td class="paramtype">const QUrl &amp;&#160;</td>
          <td class="paramname"><em>imageUrl</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The decoding function accessible from QML. (Suggested for Qt 5.x) Can be used to decode image from the Camera element preview by providing the following string: image://camera/preview_1 </p>

</div>
</div>
<a id="a4fdb03f94072d9a47cc0d008967da49b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fdb03f94072d9a47cc0d008967da49b">&#9670;&nbsp;</a></span>decodeSubImageQML <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString QZXing::decodeSubImageQML </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>item</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>offsetX</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>offsetY</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>width</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>height</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The decoding function accessible from QML. Able to set the decoding of a portion of the image. (Suggested for Qt 4.x) </p>

</div>
</div>
<a id="a13ef5bdf62f387df536e4a78088c5700"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13ef5bdf62f387df536e4a78088c5700">&#9670;&nbsp;</a></span>decodeSubImageQML <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString QZXing::decodeSubImageQML </td>
          <td>(</td>
          <td class="paramtype">const QUrl &amp;&#160;</td>
          <td class="paramname"><em>imageUrl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>offsetX</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>offsetY</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>width</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>height</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The decoding function accessible from QML. Able to set the decoding of a portion of the image. Can be used to decode image from the Camera element preview by providing the following string: image://camera/preview_1 (Suggested for Qt 5.x) </p>

</div>
</div>
<a id="af57e44a47644b0d13edf684515301f2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af57e44a47644b0d13edf684515301f2d">&#9670;&nbsp;</a></span>encodeData</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QImage QZXing::encodeData </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>The main encoding function. Currently supports only Qr code encoding </p>

</div>
</div>
<a id="a863d1ac83ea9728880d0494a5d8e98e0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a863d1ac83ea9728880d0494a5d8e98e0">&#9670;&nbsp;</a></span>getEnabledFormats</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint QZXing::getEnabledFormats </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the decoders that are enabled at the moment. Returns a uint which is a bitwise OR of DecoderFormat enumeration values. </p>

</div>
</div>
<a id="ab15359090739e8dc9850d965caca8eca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab15359090739e8dc9850d965caca8eca">&#9670;&nbsp;</a></span>getProcessTimeOfLastDecoding</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int QZXing::getProcessTimeOfLastDecoding </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the prossecing time in millisecond of the last decode operation. Added mainly as a statistic measure. Decoding operation fails, the processing time equals to -1. </p>

</div>
</div>
<a id="ab8292973f0e6820b763dd5bc0fd3060e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8292973f0e6820b763dd5bc0fd3060e">&#9670;&nbsp;</a></span>setDecoder</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QZXing::setDecoder </td>
          <td>(</td>
          <td class="paramtype">const uint &amp;&#160;</td>
          <td class="paramname"><em>hint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Set the enabled decoders. As argument it is possible to pass conjuction of decoders by using logic OR. e.x. setDecoder ( DecoderFormat_QR_CODE | DecoderFormat_EAN_13 | DecoderFormat_CODE_39 ) </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/exquisite/qrcode/qrdecode/<a class="el" href="_q_z_xing_8h_source.html">QZXing.h</a></li>
<li>R:/Develop/a0-develop/LibQQt/src/exquisite/qrcode/qrdecode/qzxing.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
